MoreExam
1. Question Content...
EXPLANATION
Answer: X - EXPLANATION Content.
Question1: An Adobe Commerce Architect needs to ensure zero downtime during the deployment process of Adobe Commerce on-premises. Which two steps should the Architect follow? (Choose two.)
Question2: A merchant asks for a new category attribute to allow uploading an additional mobile image against categories. The merchant utilizes the content staging and preview feature in Adobe Commerce and wants to schedule and review changes to this new mobile image field.A developer creates the attribute via a data patch and adds it to view/adminhtml/ui_component/category_form.xml. The attribute appears against the category in the main form, but does not appear in the additional form when scheduled updates are made.To change this attribute when scheduling new category updates, which additional action should the Architect ask the developer to take?
Question3: An Architect agrees to improve company coding standards and discourage using Helper classes in the code by introducing a new check with PHPCS.The Architect creates the following:* A new composer package under the AwesomeAgency\CodingStandard\ namespace* The ruleset. xml file extending the Magento 2 Coding StandardWhat should the Architect do to implement the new code rule?A)B)C)
Question4: An Adobe Commerce Architect needs to scope a bespoke news section for a merchant's Adobe Commerce storefront. The merchant's SEO agency requests that the following URL structure:news/{date}/{article_url_key}l where {date} is the publication date of the article, and {article_url_key} is the URL key of the article.The Architect scopes that a news entity type will be created. The date and URL key data will be stored against each record and autogenerated on save. The values will be able to be manually overridden.The Architect needs to manage routing this functionality and adhere to best practice.Which two options should the Architect consider to meet these requirements? (Choose two.)
Question5: An Adobe Commerce Architect creates a new functionality called Customs Fee, which adds a new total that applies to additional costs for handling customs clearance expenses. The extension allows specifying fee value for every website separately via the Adobe Commerce Configuration System.The Architect plans to cover new functionality with integration tests. One test case needs to confirm if the total is calculated correctly on different websites.How should the Architect make sure that test configuration data is added to test methods according to best practices?
Question6: An Adobe Commerce Architect needs to log the result of a ServiceClass : : ge-Dara method execution after all plugins have executed. The method is public, and there are a few plugins declared for this method. Among those plugins are after and around types, and all have sortOrder specified.Which solution should be used to meet this requirement?
Question7: An Architect working on a headless Adobe Commerce project creates a new customer attribute named my_attribure. Based on the attribute value of the customer, the results of GraphQI queries are modified using a plugin. The frontend application is communicating with Adobe Commerce through Varnish by Fastly, which is already caching the queries that will be modified. The Adobe Commerce Fastly extension is installed, and no other modifications are made to the application.Which steps should the Architect take to make sure the vcl_hash function of Varnish also considers the newly created attribute?A)B)C)
Question8: The development of an Adobe Commerce website is complete. The website is ready to be rolled out on the production environment.An Architect designed the system to run in a distributed architecture made up of multiple backend webservers that process requests behind a Load Balancer.After deploying the system and accessing the website for the first time, users cannot access the Customer Dashboard after logging in. The website keeps redirecting users to the sign-in page even though the users have successfully logged in. The Architect determines that the session is not being saved properly.In the napp/etc/env.php\ the session is configured as follows:What should the Architect do to correct this issue?
Question9: An Adobe Commerce Architect needs to create a new customer segment condition to enable admins to specify an 'Average sales amount' condition for certain segments.The Architect develops the custom condition under vendor\Module\Model\Segment\condition\AverageSalesAmount with all of its requirements:Which two steps should the Architect complete to fix the problem? (Choose two.) A)B)C)D)E)
Question10: An Architect needs to review a custom product feed export module that a developer created for a merchant. During final testing before the solution is deployed, the product feed output is verified as correct. All unit and integration tests for code pass.However, once the solution is deployed to production, the product price values in the feed are incorrect for several products. The products with incorrect data are all currently part of a content staging campaign where their prices have been reduced.What did the developer do incorrectly that caused the feed output to be incorrect for products in the content staging campaign?
Question11: An Adobe Commerce Architect is reviewing api-functional test code. Some tests send errors to indicate that the customer address does not exist.The test codes show the following:Which steps should the Architect take to fix the test errors?A)B)C)
Question12: While reviewing a newly developed pull request that refactors multiple custom payment methods, the Architect notices multiple classes that depend on \Magento\Framework\Encryption\EncryptorInterf ace to decrypt credentials for sensitive data. The code that is commonly repeated is as follows:In each module, the user_secret config is declared as follows:The Architect needs to recommend an optimal solution to avoid redundant dependency and duplicate code among the methods. Which solution should the Architect recommend?
Question13: An Architect needs to integrate an Adobe Commerce store with a new Shipping Carrier. Cart data is sent to the Shipping Carrier's API to retrieve the price and display to the customer. After the feature is implemented on the store, the API hits its quota and returns the error "Too many requests". The Shipping Carrier warns the store about sending too many requests with the same content to the API.In the carrier model, what should the Architect change to fix the problem?
Question14: A company has an Adobe Commerce store. An attribute named "my.attribute" (type "text") is created to save each product's global ID that is shared between multiple systems.Several months after going live, the values of "my.attribute" are all integer. This causes a problem for the other systems when those systems receive this data.An Adobe Commerce Architect needs to recommend a solution to change the type of "my.attribute" from textXo int Which two steps should the Architect take to achieve this? (Choose two.)
Question15: An Architect is investigating a merchant's Adobe Commerce production environment where all customer session data is randomly being lost. Customer session data has been configured to be persisted using Redis, as are all caches (except full page cache, which is handled via Varnish).After an initial review, the Architect is able to replicate the loss of customer session data by flushing the Magento cache storage, either via the Adobe Commerce Admin Panel or running bin/iuagento cache: flush on the command line. Refreshing all the caches in the Adobe Commerce Admin Panel or running bin/magento cache: clean on the command line does not cause session data to be lost.What should be the next step?
Question16: A client is migrating to Adobe Commerce Cloud and has approximately 800 existing redirects that must be implemented. The number of redirects cannot be reduced because all redirects are specific, and do not match any pattern.How should the redirects be configured to ensure performance?
Question17: A merchant is utilizing an out-of-the-box Adobe Commerce application and asks to add a new reward card functionality for customers. During the code review, the Adobe Commerce Architect notices the reward_card_number attribute setup created for this functionality is causing the customer attribute to be unavailable in the My account/My rewards page template.What should be added to set the customer attribute correctly?
Question18: An Architect is configuring the preload.keys for Redis on an Adobe Commerce on-premise instance.The Architect discovers that the following cache keys are loaded on each frontend request: eav_entity_types, GLOBAL_PLUGIN_LIST, DB_IS_UP_TO_DATE , SYSTEM_DEFAULT.* The id_prefix of the frontend =>page_cache is set to 061_.* The id_prefix of frontend => default: is not set.* The Architect has enabled and configured Redis L2 caching.How should the preload.keys be configured?A)B)C)D)
Question19: An Adobe Commerce system is configured to run in a multi-tier architecture that includes:* A cache server with Varnish installed* A backend web server with Adobe Commerce installed* A database server with MySQL installedWhen an Adobe Commerce Architect tries to clean the cache from the Store Admin by using the "Flush Magento Cache" in Cache Management, the Full Page Cache does not clear.Which two steps should the Architect take to make the Full Page Cache work properly? (Choose two.)